package com.ruoyi.project.gxgw_modules.common;

/**
 * @author tianpeidong
 * @version 2019.01.18
 * 支付状态
 */
public enum PayState {

    UNPAIED(0, "未支付"),

    PAIED(1, "已支付"),

    FAILED(2,"支付失败"),

    REFUND(3,"退款成功")
    ;

    private final Integer code;
    private final String description;

    PayState(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    public Integer getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}
